﻿
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.ComponentModel.DataAnnotations;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(YH_GradePost))]
    public class YH_GradePostDto : Dto
    {
        /// <summary>
        /// 隐患等级Id
        /// </summary>
        public Guid? GradeId { get; set; }

        /// <summary>
        /// 隐患等级名称
        /// </summary>
        public String GradeName { get; set; }
        /// <summary>
        /// 岗位Id
        /// </summary>
        public Guid? PostId { get; set; }
        /// <summary>
        /// 岗位名称
        /// </summary>
        [ConcurrentKeyToValueAttribute("003003", "PostId")]
        public String PostName { get; set; }
        [StringLength(500)]
        public String Mark01 { get; set; }
        [StringLength(500)]
        public String Mark02 { get; set; }
        [StringLength(500)]
        public String Mark03 { get; set; }
    }
}
